﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LightLog.Model.DTO
{
    [Serializable]
    public  class UserDTO
    {
        public long ID { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 是否为管理员
        /// </summary>
        public bool IsAdmin { get; set; } = false;

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime CreateTime { get; set; } 

        /// <summary>
        /// 关联项目
        /// </summary>
        public List<ProjectDTO> ProjectList { get; set; }
    }
}
